clear all;
clc;

load 7nnb;

s = 10;

V = VV(:,1:s);
load mnist_train;
load mnist_test;
clear xL;
clear xU;
l = size(yL,2);
n = l+size(yU,2);

[Yp,numsv] = mmkp(V,yL',1);

trerr = calerr(Yp(1:l),yL')
tserr = calerr(Yp(l+1:n),yU')
